pure and impure function in react. There are any references about pure and impure function in react in here. you can look below.